package atm.zhaz;

public class Main {
	static MyClient client;
	public static void main(String[] args) {
		if (args.length == 2) {
			client = new MyClient(args[0], Integer.parseInt(args[1]));
		} else {
			client = new MyClient("localhost", 12345);
		}
		LoginDisplay w = new LoginDisplay(client);
		w.setVisible(true);
	}
}